package com.github.kotvertolet.youtubejextractor.exception;

public class ExtractionException extends Exception {
    private static final String ERROR_MESSAGE = "Extraction failed. "
            + "Please, report here: https://github.com/kotvertolet/youtube-jextractor/issues. Error details: ";

    /** ExtractionException
     *
     * @param message
     */
    public ExtractionException(String message) {
        super(ERROR_MESSAGE + message);
    }

    /** ExtractionException
     *
     * @param message
     * @param cause
     */
    public ExtractionException(String message, Throwable cause) {
        super(ERROR_MESSAGE + message, cause);
    }

    /** ExtractionException
     *
     * @param cause
     */
    public ExtractionException(Throwable cause) {
        super(cause);
    }
}
